﻿using DongFangGuoKai.TaskPlatform.Job.OutRoundReturn.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DongFangGuoKai.TaskPlatform.Job.OutRoundReturn.Dto
{
    public class OutRoundReturnDto
    {
        /// <summary>
        /// 需求部门名
        /// </summary>
        public string? NeedDeptName { get; set; }
        /// <summary>
        /// 领用单id
        /// </summary>
        //public int PickingId { get; set; }
        /// <summary>
        /// 领用单号
        /// </summary>
        public string? PickingNumber { get; set; }
        /// <summary>
        /// 领用来源仓库名称  
        /// </summary>
        public string? StoreName { get; set; }
        /// <summary>
        /// 领用单明细
        /// </summary>
        public List<OutRoundReturnDetailDto>? Items { get; set; }
    }

    public class OutRoundReturnDetailDto
    {
        /// <summary>
        /// 批次号
        /// </summary>
        public string? Batch { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int Count { get; set; }
        /// <summary>
        /// 领用物资明细id
        /// </summary>
        public int RelationId { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
    }
}
